<template>
  <div>
    <div class="header_min top0">
      <div class="wrap header_min_box">
        <div class="fl logo" @click="entryIndex">
          <img src="@/assets/image/logo_shape@2x.png" alt />
          联众医药
        </div>
        <span class="nameType">{{ nameType }}</span>
        <slot></slot>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: ["nameType"],
  methods: {
    // 进入首页
    entryIndex() {
      this.$emit("changeState", 0);
    }
  }
};
</script>
<style lang="less" scoped>
@import "../../assets/less/header";
.nameType {
  display: inline-block;
  font-size: 18px;
  margin-left: 10px;
  margin-top: 40px;
}
.top0 {
  top: 0 !important;
}
.header_min {
  height: 88px;
  border-bottom: 1px solid #38EEC1;
  .header_min_box {
  }
}
</style>